package common.consts;

/**
 * Created by aceyin on 15/7/13.
 */
public interface Rewards {
    static boolean isMoney(String type) {
        if (type == null) {
            return false;
        }
        return Type.MONEY.name().equalsIgnoreCase(type);
    }

    enum Type {
        MONEY, GIFT
    }
}
